package com.shmn.gongjiajumain.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shmn.common.utils.PageUtils;
import com.shmn.common.utils.Query;

import com.shmn.gongjiajumain.dao.JigPositionDao;
import com.shmn.gongjiajumain.entity.JigPositionEntity;
import com.shmn.gongjiajumain.service.JigPositionService;


@Service("jigPositionService")
public class JigPositionServiceImpl extends ServiceImpl<JigPositionDao, JigPositionEntity> implements JigPositionService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<JigPositionEntity> page = this.page(
                new Query<JigPositionEntity>().getPage(params),
                new QueryWrapper<JigPositionEntity>()
        );

        return new PageUtils(page);
    }

}